package com.ycy.smartcourseselection.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class PageParamsDTO {
    @ApiModelProperty(value="当前页码",required = true)
    private Integer pageNum;

    @ApiModelProperty(value="每页条数",required = true)
    private Integer pageSize;

    @ApiModelProperty("排序字段,默认最新添加在最前面")
    private String sortField;  //排序字段

    @ApiModelProperty("排序类型  desc 或 asc,默认 desc")
    private String sortType;
}
